<template>
  <div id="app">
    <roles-transfer v-model="value" @input="onInput"></roles-transfer>
  </div>
</template>

<script>
import rolesTransfer from './components/roles-transfer.vue'
export default {
  name: 'App',
  components: {
    rolesTransfer
  },
  data () {
    return {
      value: ['1', '2']
    }
  },
  methods: {
    onInput (e) {
      console.log(e)
      this.value = [...e]
    }
  }
}
</script>

<style lang="less">
</style>
